<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<link href="images/skin.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}
-->
</style>
	<LINK href="Admin_Poli.files/Admin_css.css" type=text/css
		rel=stylesheet>
	<SCRIPT language=JavaScript>
		function update(a,b){
			window.location="chengshu/updateUserRole!showInfor?id="+a+"&name="+b;
		}
         function openn(){
          var args = openn.arguments;
          if(args[0] == 0) return;
          location.href=(args[0]);
          }
          </SCRIPT>

	<SCRIPT language=javascript src="Admin_Poli.files/Admin.js"></SCRIPT>

	<META content="MSHTML 6.00.2900.5880" name=GENERATOR>
	<body>

		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="17" valign="top" background="images/mail_leftbg.gif">
					<img src="images/left-top-right.gif" width="17" height="29" />
				</td>
				<td valign="top" background="images/content-bg.gif">
					<table width="100%" height="31" border="0" cellpadding="0"
						cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31">
								<div class="titlebt">
									权限管理界面
								</div>
							</td>
						</tr>
					</table>
				</td>
				<td width="16" valign="top" background="images/mail_rightbg.gif">
					<img src="images/nav-right-bg.gif" width="16" height="29" />
				</td>
			</tr>
			<tr>
				<td valign="middle" background="images/mail_leftbg.gif">
					&nbsp;
				</td>
				<td valign="top" bgcolor="#F7F8F9">

					<TABLE cellSpacing=1 cellPadding=3 width="99%" bgColor=#6298e1
						border=0>
						<TBODY>
							<TD noWrap align=middle bgColor=#ebf2f9 height=30>
								<TABLE cellSpacing=0 width="99%" border=0>
									<TBODY>
										<TR>
											<FORM name=formSearch action="chengshu/permissionuser.action?i=1"
												method=post>
												<TD noWrap>
													员工查找：
													<INPUT class=textfield size=18 name="str">
													<INPUT class=button type=submit value=搜索 name=submitSearch>
												</TD>
											</FORM>
										</TR>
								</TABLE>
							</TD>
							</TR>
						</TBODY>
					</TABLE>
					<TABLE cellSpacing=1 cellPadding=0 width="99%" border=0>
						<TBODY></TBODY>
					</TABLE>
					<TABLE cellSpacing=1 cellPadding=3 width="99%" bgColor=#6298e1
						border=0>
						<FORM name="updateUserRole" id="updateUserRole" method=post>
							<TBODY>
								<TR>
									<TD noWrap align=middle 
										background=Admin_Poli.files/th_bg.gif height=25>
										<FONT color=#ffffff><STRONG>员工编号</STRONG> </FONT>
									</TD>
									<TD noWrap align=middle 
										background=Admin_Poli.files/th_bg.gif>
										<FONT color=#ffffff><STRONG>员工姓名</STRONG> </FONT>
									</TD>
									<TD noWrap align=middle 
										background=Admin_Poli.files/th_bg.gif>
										<FONT color=#ffffff><STRONG>员工性别</STRONG> </FONT>
									</TD>
									<TD noWrap align=middle 
										background=Admin_Poli.files/th_bg.gif>
										<FONT color=#ffffff><STRONG>所属部门</STRONG> </FONT>
									</TD>
									<TD noWrap align=middle 
										background=Admin_Poli.files/th_bg.gif>
										<FONT color=#ffffff><STRONG>员工生日</STRONG> </FONT>
									</TD>
									<TD noWrap align=middle width=50
										background=Admin_Poli.files/th_bg.gif>
										<STRONG><FONT color=#ffffff>操作</FONT> </STRONG>
									</TD>
								</TR>
								<s:iterator value="listUser" var="list">
									<TR onMouseOver="this.style.backgroundColor = '#FFFFFF'"
										style="CURSOR: hand"
										onmouseout="this.style.backgroundColor = ''" bgColor=#ebf2f9>
										<TD noWrap align=middle height=24 >
											<s:property value="#list.uid"/>
										</TD>
										<TD noWrap>
											&nbsp;<s:property value="#list.uname"/>
										</TD>
										<TD noWrap align=middle>
										<s:if test="#list.sex==1">
											男
										</s:if><s:else>
											女
										</s:else>
										</TD>
										<TD noWrap align=middle>
										<s:property value="#list.UDept.deptname"/>
										</TD>
										<TD noWrap align=middle>
										<s:date name="#list.birthday" format="yyyy年MM月dd日"/>
										</TD>
										<TD noWrap align=middle>
											<A
												href="javascript:;" onclick="update('<s:property value="#list.uid"/>','<s:property value="#list.uname"/>')"><FONT
												color=#330099>修改</FONT> </A>
										</TD>
									</TR>
								</s:iterator>

								<TR>
									<TD noWrap bgColor=#d7e4f7 colSpan=11>
										<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
											border=0>
											<TBODY>
												<TR>
													<TD>
														共计：
														<FONT color=#ff6600><s:property value="countInfor"/></FONT>条记录&nbsp;页次：
														<FONT color=#ff6600><s:property value="page"/></FONT></STRONG>/<s:property value="totalPage"/>&nbsp;每页：
														<FONT color=#ff6600>20</FONT>条
													</TD>
													<TD align=right>
														&nbsp;
														<FONT color=#ff6600>1</FONT>&nbsp;跳到：第&nbsp;
														<INPUT class=textfield
															onkeydown=if(event.keyCode==13)event.returnValue=false
															style="WIDTH: 40px; HEIGHT: 18px"
															onchange="if(/\D/.test(this.value)){alert('只能在跳转目标页框内输入整数！');this.value='1';}"
															value=1 name=SkipPage>
														&nbsp;页
														<INPUT class=button style="WIDTH: 20px; HEIGHT: 18px"
															onclick='GoPage("chengshu/permissionuser.action?")'
															type=button value=GO name=submitSkip>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</TD>
								</TR>
						</FORM>
						</TBODY>

					</TABLE>
				</td>
				<td background="images/mail_rightbg.gif">
					&nbsp;
				</td>
			</tr>
			<tr>
				<td valign="middle" background="images/mail_leftbg.gif">
					&nbsp;
				</td>
				<td valign="top" bgcolor="#F7F8F9" class="left_txt">

					<img src="images/icon-mail2.gif" width="16" height="11">
					&nbsp;&nbsp;&nbsp;&nbsp;邮箱：liuyongwade@gmail.com
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					组员：刘勇&nbsp;&nbsp;程曙&nbsp;&nbsp;陈皓&nbsp;&nbsp;席晓明&nbsp;&nbsp;刘广云
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;版权所有 侵权必究

				</td>
				<td background="images/mail_rightbg.gif">
					&nbsp;
				</td>
			</tr>


			<tr>
				<td valign="bottom" background="images/mail_leftbg.gif">
					<img src="images/buttom_left2.gif" width="17" height="17" />
				</td>
				<td background="images/buttom_bgs.gif">
					<img src="images/buttom_bgs.gif" width="17" height="17">
				</td>
				<td valign="bottom" background="images/mail_rightbg.gif">
					<img src="images/buttom_right2.gif" width="16" height="17" />
				</td>
			</tr>
		</table>

	</body>
</html>
